/**
 * 主页js
 */


if(location.href=="http://mzt.jl.gov.cn/" || location.href=="http://mzt.jl.gov.cn/index.html"){
//首页


// 将iframe所包含的a链接数 第一个a元素 最后一个a元素赋值给第一个参数的js对象
_EsdDynamicTransformationScript.getIframeInfos = function(jsObj,iframeObj){
	if(iframeObj != undefined){
		jsObj.aLink_num = iframeObj.contentWindow.document.getElementsByTagName("a").length;
		jsObj.first_aLink = iframeObj.contentWindow.document.getElementsByTagName("a")[0];
		jsObj.last_aLink = iframeObj.contentWindow.document.getElementsByTagName("a")[jsObj.aLink_num-1];
		jsObj.self = iframeObj;
	}
};

// 声明iframe操作对象
_EsdDynamicTransformationScript.iframe1 = {};
_EsdDynamicTransformationScript.iframe2 = {};

//通过方法赋值   
_EsdDynamicTransformationScript.iframeElement1 = document.getElementsByTagName("iframe")[0];   // 需要修改 这里的iframe获取
_EsdDynamicTransformationScript.iframeElement2 = document.getElementsByTagName("iframe")[1];   // 需要修改 这里的iframe获取


//选项卡标签 jquery对象
_EsdDynamicTransformationScript.iframeTab1 = $("#tab li:eq(0) a");  // 需要修改 这里的tab获取
_EsdDynamicTransformationScript.iframeTab2 = $("#tab li:eq(1) a");  // 需要修改 这里的tab获取


// 判断iframe是否有效
if((_EsdDynamicTransformationScript.iframeElement1!=undefined) && (_EsdDynamicTransformationScript.iframeElement2!=undefined)){

	// 当iframe都加载完毕后执行代码 使用setInterval
	_EsdDynamicTransformationScript.iframeInterval = setInterval(function(){	
		
		if((_EsdDynamicTransformationScript.iframeElement1.contentWindow.document.getElementsByTagName("a")[0]!=undefined) 
				&& (_EsdDynamicTransformationScript.iframeElement2.contentWindow.document.getElementsByTagName("a")[0]!=undefined) ){
			clearInterval(_EsdDynamicTransformationScript.iframeInterval);
			
			//通过方法赋值   
			_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe1,_EsdDynamicTransformationScript.iframeElement1);  
			_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe2,_EsdDynamicTransformationScript.iframeElement2); 

		//第一个标签 切换
		_EsdDynamicTransformationScript.iframeTab1.focus(function (e) {
			console.log("tab1获取到焦点");
			e = $(this).mouseover();
			$(this).bind("keydown.iframeKeydown_1", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					console.log("tab1向回切换");
					_EsdDynamicTransformationScript.iframeTab1.trigger("blur");
					$("#tab a:eq(0)").focus();
					return false;
				} else if (e.keyCode == 9) {
					console.log("tab1继续切换到iframe上");
					_EsdDynamicTransformationScript.iframeTab1.trigger("blur");
					$(_EsdDynamicTransformationScript.iframe1.self).focus();
					console.log(document.activeElement);
					return false;
				}
			});
		});
		_EsdDynamicTransformationScript.iframeTab1.blur(function () {
			$(this).unbind("keydown.iframeKeydown_1");
		});

		// 第一个标签的第一个链接
		$(_EsdDynamicTransformationScript.iframe1.first_aLink).focus(function () {
			console.log("第一个iframe的第一条获得焦点");
			$(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).bind("keydown.iframeKeydown_first1", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					console.log("第一个iframe的第一条向上切换");
					$(this).trigger("blur");
					_EsdDynamicTransformationScript.iframeTab1.focus();
					return false;
				} else if (e.keyCode == 9) {
					console.log("第一个iframe的第一条继续切换");
				}
			});
		});
		$(_EsdDynamicTransformationScript.iframe1.first_aLink).blur(function () {
			$(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).unbind("keydown.iframeKeydown_first1");
		});

		// 第一个标签的最后一个链接
		$(_EsdDynamicTransformationScript.iframe1.last_aLink).focus(function () {
			console.log("第一个iframe的最后一条获得焦点");
			$(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).bind("keydown.iframeKeydown_first1", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					console.log("第一个iframe的最后一条向上切换");
				} else if (e.keyCode == 9) {
					console.log("第一个iframe的最后一条继续切换 到下一个标签");
					 $(this).trigger("blur");
					_EsdDynamicTransformationScript.iframeTab2.focus();
					return false;
				}
			});
		});
		$(_EsdDynamicTransformationScript.iframe1.last_aLink).blur(function () {
			$(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).unbind("keydown.iframeKeydown_first1");
		});

		}
		
	}, 500);

}

//第二个标签切换
_EsdDynamicTransformationScript.iframeTab2.focus(function (e) {
    console.log("tab2获取到焦点");
    e = $(this).mouseover();
    $(this).bind("keydown.iframeKeydown_2", function (e) {
        if (e.shiftKey && e.keyCode == 9) {
			console.log("第二个标签向回切换 到第一个标签的最后一条");
            _EsdDynamicTransformationScript.iframeTab2.trigger("blur");
            _EsdDynamicTransformationScript.iframeTab1.mouseover();
            $(_EsdDynamicTransformationScript.iframe1.last_aLink).focus();
            return false;
        } else if (e.keyCode == 9) {
            _EsdDynamicTransformationScript.iframeTab2.trigger("blur");
            $(_EsdDynamicTransformationScript.iframe2.self).focus();
            console.log(document.activeElement);
            return false;
        }
    });

});
_EsdDynamicTransformationScript.iframeTab2.blur(function () {
    $(this).unbind("keydown.iframeKeydown_2");
});


//_EsdDynamicTransformationScript.slidePointInterval = setInterval(function () {
//	if ( $("#ty_banner_next")[0] != undefined 
//			&& $("#ty_banner .ty_banner_tu:eq(4) .ty_banner_big a")[0] != undefined ) {
//		clearInterval(_EsdDynamicTransformationScript.slidePointInterval);
		
//轮播,右下角原点--鼠标移动触发情况

//第一个轮播的a标签赋值title
_EsdDynamicTransformationScript.esdTagATitle1 = $("#ty_banner .ty_banner_tu:eq(0) .ty_banner_big span").text();
_EsdDynamicTransformationScript.esdTagATitle2 = $("#ty_banner .ty_banner_tu:eq(1) .ty_banner_big span").text();
_EsdDynamicTransformationScript.esdTagATitle3 = $("#ty_banner .ty_banner_tu:eq(2) .ty_banner_big span").text();
_EsdDynamicTransformationScript.esdTagATitle4 = $("#ty_banner .ty_banner_tu:eq(3) .ty_banner_big span").text();
_EsdDynamicTransformationScript.esdTagATitle5 = $("#ty_banner .ty_banner_tu:eq(4) .ty_banner_big span").text();

$("#ty_banner .ty_banner_tu:eq(0) .ty_banner_big a").attr("title", _EsdDynamicTransformationScript.esdTagATitle1 );
$("#ty_banner .ty_banner_tu:eq(1) .ty_banner_big a").attr("title", _EsdDynamicTransformationScript.esdTagATitle2 );
$("#ty_banner .ty_banner_tu:eq(2) .ty_banner_big a").attr("title", _EsdDynamicTransformationScript.esdTagATitle3 );
$("#ty_banner .ty_banner_tu:eq(3) .ty_banner_big a").attr("title", _EsdDynamicTransformationScript.esdTagATitle4 );
$("#ty_banner .ty_banner_tu:eq(4) .ty_banner_big a").attr("title", _EsdDynamicTransformationScript.esdTagATitle5 );

//轮播：只获取轮播中一个a标签。
//以文字a标签为主，图片a标签尽量不要，title不稳定

//轮播前的标签
 _EsdDynamicTransformationScript.esdTagFrontNum1 = $(".zly_mzt_20170309navbg6 a");

//文字A标签
 _EsdDynamicTransformationScript.esdTagANum1 = $("#ty_banner .ty_banner_tu:eq(0) .ty_banner_big a");
 _EsdDynamicTransformationScript.esdTagANum2 = $("#ty_banner .ty_banner_tu:eq(1) .ty_banner_big a");
 _EsdDynamicTransformationScript.esdTagANum3 = $("#ty_banner .ty_banner_tu:eq(2) .ty_banner_big a");
 _EsdDynamicTransformationScript.esdTagANum4 = $("#ty_banner .ty_banner_tu:eq(3) .ty_banner_big a");
 _EsdDynamicTransformationScript.esdTagANum5 = $("#ty_banner .ty_banner_tu:eq(4) .ty_banner_big a");


//左右焦点
 _EsdDynamicTransformationScript.esdTagLeftNum = $("#ty_banner_prev");
 _EsdDynamicTransformationScript.esdTagRightNum = $("#ty_banner_next");

//轮播后的标签
 _EsdDynamicTransformationScript.esdTagAfterNum1 = $(".zly_mzt_20170310tzggc a:eq(0)");


	//轮播前的焦点
	_EsdDynamicTransformationScript.esdTagFrontNum1.focus(function (e) {
		$(this).bind("keydown.keydown_0", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).unbind("keydown.keydown_0");
//				$(".zly_mzt_20170309navbg5 a").focus();
//				return false;
			}else if (e.keyCode == 9) {
				$(this).unbind("keydown.keydown_0");
				
				Qfast(false, 'widgets', function () {
					K.tabs({
						id: 'ty_banner_box',   //焦点图包裹id  
						conId: "ty_banner",  //** 大图域包裹id  
						tabId:"ty_banner_dian",  
						tabTn:"a",
						conCn: '.ty_banner_tu', //** 大图域配置class       
						auto: 1,   //自动播放 1或0
						effect: 'fade',   //效果配置
						eType: 'click', //** 鼠标事件
						pageBt:true,//是否有按钮切换页码
						bns: ['.ty_banner_prev', '.ty_banner_next'],//** 前后按钮配置class                          
						interval: 3000  //** 停顿时间  
					}) 
				})
				
				 _EsdDynamicTransformationScript.esdTagRightNum.click();
				 _EsdDynamicTransformationScript.esdTagLeftNum.click();
				
				_EsdDynamicTransformationScript.esdTagANum1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTagFrontNum1.blur(function () {
		$(this).unbind("keydown.keydown_0");
	});

	//第一块
	_EsdDynamicTransformationScript.esdTagANum1.focus(function (e) {
		$(this).bind("keydown.keydown_l1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).unbind("keydown.keydown_l1");
				_EsdDynamicTransformationScript.esdTagFrontNum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).unbind("keydown.keydown_l1");
				
				if($(".ty_banner_tu:eq(1)").is(":hidden")){
					_EsdDynamicTransformationScript.esdTagRightNum.click();
			    }
				
				_EsdDynamicTransformationScript.esdTagANum2.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTagANum1.blur(function () {
		$(this).unbind("keydown.keydown_l1");
	});

	//第二块
	_EsdDynamicTransformationScript.esdTagANum2.focus(function (e) {
		$(this).bind("keydown.keydown_l2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).unbind("keydown.keydown_l2");
				
				if($(".ty_banner_tu:eq(0)").is(":hidden")){
					_EsdDynamicTransformationScript.esdTagLeftNum.click();
			    }
				
				_EsdDynamicTransformationScript.esdTagANum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).unbind("keydown.keydown_l2");
				
				if($(".ty_banner_tu:eq(2)").is(":hidden")){
					_EsdDynamicTransformationScript.esdTagRightNum.click();
			    }
				
				_EsdDynamicTransformationScript.esdTagANum3.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTagANum2.blur(function () {
		$(this).unbind("keydown.keydown_l2");
	});
	
	//第三块
	_EsdDynamicTransformationScript.esdTagANum3.focus(function (e) {
		$(this).bind("keydown.keydown_l3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).unbind("keydown.keydown_l3");
				
				if($(".ty_banner_tu:eq(1)").is(":hidden")){
					_EsdDynamicTransformationScript.esdTagLeftNum.click();
			    }
				
				_EsdDynamicTransformationScript.esdTagANum2.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).unbind("keydown.keydown_l3");
				
				if($(".ty_banner_tu:eq(3)").is(":hidden")){
					_EsdDynamicTransformationScript.esdTagRightNum.click();
			    }
				
				_EsdDynamicTransformationScript.esdTagANum4.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTagANum3.blur(function () {
		$(this).unbind("keydown.keydown_l3");
	});
	
	//第四块
	_EsdDynamicTransformationScript.esdTagANum4.focus(function (e) {
		$(this).bind("keydown.keydown_l4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).unbind("keydown.keydown_l4");
				
				if($(".ty_banner_tu:eq(2)").is(":hidden")){
					_EsdDynamicTransformationScript.esdTagLeftNum.click();
			    }
				
				_EsdDynamicTransformationScript.esdTagANum3.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).unbind("keydown.keydown_l4");
				
				if($(".ty_banner_tu:eq(4)").is(":hidden")){
					_EsdDynamicTransformationScript.esdTagRightNum.click();
			    }
				
				_EsdDynamicTransformationScript.esdTagANum5.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTagANum4.blur(function () {
		$(this).unbind("keydown.keydown_l4");
	});
	
	//第五块
	_EsdDynamicTransformationScript.esdTagANum5.focus(function (e) {
		$(this).bind("keydown.keydown_l5", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).unbind("keydown.keydown_l5");
				
				if($(".ty_banner_tu:eq(3)").is(":hidden")){
					_EsdDynamicTransformationScript.esdTagLeftNum.click();
			    }
				
				_EsdDynamicTransformationScript.esdTagANum4.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).unbind("keydown.keydown_l5");
				_EsdDynamicTransformationScript.esdTagAfterNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTagANum5.blur(function () {
		$(this).unbind("keydown.keydown_l5");
	});
	
	//轮播后的焦点
	_EsdDynamicTransformationScript.esdTagAfterNum1.focus(function (e) {
		$(this).bind("keydown.keydown_l6", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).unbind("keydown.keydown_l6");
				_EsdDynamicTransformationScript.esdTagANum5.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).unbind("keydown.keydown_l6");
//				$(".zly_mzt_20170310tzggc a:eq(1)").focus();
//				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTagAfterNum1.blur(function () {
		$(this).unbind("keydown.keydown_l6");
	});
	
//	}
//}, 500);	
	
	
//第二个轮播
//轮播,右下角原点--鼠标移动触发情况

//轮播：只获取轮播中一个a标签。
//以文字a标签为主，图片a标签尽量不要，title不稳定

	//第二个轮播的文字
_EsdDynamicTransformationScript.esd12TagATitle1 = $("#ty_banner_dian2 a:eq(0) .ty_banner_tu2span").text();
_EsdDynamicTransformationScript.esd12TagATitle2 = $("#ty_banner_dian2 a:eq(1) .ty_banner_tu2span").text();
_EsdDynamicTransformationScript.esd12TagATitle3 = $("#ty_banner_dian2 a:eq(2) .ty_banner_tu2span").text();
_EsdDynamicTransformationScript.esd12TagATitle4 = $("#ty_banner_dian2 a:eq(3) .ty_banner_tu2span").text();
_EsdDynamicTransformationScript.esd12TagATitle5 = $("#ty_banner_dian2 a:eq(4) .ty_banner_tu2span").text();
_EsdDynamicTransformationScript.esd12TagATitle6 = $("#ty_banner_dian2 a:eq(5) .ty_banner_tu2span").text();
	//第二个轮播a标签的title
$("#ty_banner2 .ty_banner_tu2:eq(0) a").attr("title", _EsdDynamicTransformationScript.esd12TagATitle1 );
$("#ty_banner2 .ty_banner_tu2:eq(1) a").attr("title", _EsdDynamicTransformationScript.esd12TagATitle2 );
$("#ty_banner2 .ty_banner_tu2:eq(2) a").attr("title", _EsdDynamicTransformationScript.esd12TagATitle3 );
$("#ty_banner2 .ty_banner_tu2:eq(3) a").attr("title", _EsdDynamicTransformationScript.esd12TagATitle4 );
$("#ty_banner2 .ty_banner_tu2:eq(4) a").attr("title", _EsdDynamicTransformationScript.esd12TagATitle5 );
$("#ty_banner2 .ty_banner_tu2:eq(5) a").attr("title", _EsdDynamicTransformationScript.esd12TagATitle6 );


	
//轮播前的标签
 _EsdDynamicTransformationScript.esd12TagFrontNum1 = $(".zly_mzt_20170310tzggc a:eq(2)");

//文字A标签
 _EsdDynamicTransformationScript.esd12TagANum1 = $("#ty_banner2 .ty_banner_tu2:eq(0) a");
 _EsdDynamicTransformationScript.esd12TagANum2 = $("#ty_banner2 .ty_banner_tu2:eq(1) a");
 _EsdDynamicTransformationScript.esd12TagANum3 = $("#ty_banner2 .ty_banner_tu2:eq(2) a");
 _EsdDynamicTransformationScript.esd12TagANum4 = $("#ty_banner2 .ty_banner_tu2:eq(3) a");
 _EsdDynamicTransformationScript.esd12TagANum5 = $("#ty_banner2 .ty_banner_tu2:eq(4) a");
 _EsdDynamicTransformationScript.esd12TagANum6 = $("#ty_banner2 .ty_banner_tu2:eq(5) a");

//左右焦点
 _EsdDynamicTransformationScript.esd12TagLeftNum = $(".ty_banner_prev2");
 _EsdDynamicTransformationScript.esd12TagRightNum = $(".ty_banner_next2");

//轮播后的标签
 _EsdDynamicTransformationScript.esd12TagAfterNum1 = $(".zly_mzt_20170310mzyw .zly_mzt_20170310mzyw_t h2 a");


	//轮播前的焦点
	_EsdDynamicTransformationScript.esd12TagFrontNum1.focus(function (e) {
		$(this).bind("keydown.keydown_ll0", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).unbind("keydown.keydown_ll0");
//				$(".zly_mzt_20170310tzggc a:eq(1)").focus();
//				return false;
			}else if (e.keyCode == 9) {
				$(this).unbind("keydown.keydown_ll0");
				
				Qfast(false, 'widgets', function () {
					K.tabs({
						id: 'ty_banner_box2',   //焦点图包裹id  
						conId: "ty_banner2",  //** 大图域包裹id  
						tabId:"ty_banner_dian2",  
						tabTn:"a",
						conCn: '.ty_banner_tu2', //** 大图域配置class       
						auto: 1,   //自动播放 1或0
						effect: 'fade',   //效果配置
						eType: 'click', //** 鼠标事件
						pageBt:true,//是否有按钮切换页码
						bns: ['.ty_banner_prev2', '.ty_banner_next2'],//** 前后按钮配置class                          
						interval: 3000  //** 停顿时间  
					}) 
				})
				_EsdDynamicTransformationScript.esd12TagRightNum.click();
				_EsdDynamicTransformationScript.esd12TagLeftNum.click();
				
				_EsdDynamicTransformationScript.esd12TagANum1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd12TagFrontNum1.blur(function () {
		$(this).unbind("keydown.keydown_ll0");
	});
	
	

	//第一块
	_EsdDynamicTransformationScript.esd12TagANum1.focus(function (e) {
		$(this).bind("keydown.keydown_ll1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).unbind("keydown.keydown_ll1");
				_EsdDynamicTransformationScript.esd12TagFrontNum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).unbind("keydown.keydown_ll1");
				
				if($(".ty_banner_tu2:eq(1)").is(":hidden")){
					_EsdDynamicTransformationScript.esd12TagRightNum.click();
			    }
				
				_EsdDynamicTransformationScript.esd12TagANum2.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd12TagANum1.blur(function () {
		$(this).unbind("keydown.keydown_ll1");
	});

	//第二块
	_EsdDynamicTransformationScript.esd12TagANum2.focus(function (e) {
		$(this).bind("keydown.keydown_ll2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).unbind("keydown.keydown_ll2");
				
				if($(".ty_banner_tu2:eq(0)").is(":hidden")){
					_EsdDynamicTransformationScript.esd12TagLeftNum.click();
			    }
				
				_EsdDynamicTransformationScript.esd12TagANum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).unbind("keydown.keydown_ll2");
				
				if($(".ty_banner_tu2:eq(2)").is(":hidden")){
					_EsdDynamicTransformationScript.esd12TagRightNum.click();
			    }
				
				_EsdDynamicTransformationScript.esd12TagANum3.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd12TagANum2.blur(function () {
		$(this).unbind("keydown.keydown_ll2");
	});
	
	//第三块
	_EsdDynamicTransformationScript.esd12TagANum3.focus(function (e) {
		$(this).bind("keydown.keydown_ll3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).unbind("keydown.keydown_ll3");
				
				if($(".ty_banner_tu2:eq(1)").is(":hidden")){
					_EsdDynamicTransformationScript.esd12TagLeftNum.click();
			    }
				
				_EsdDynamicTransformationScript.esd12TagANum2.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).unbind("keydown.keydown_ll3");
				
				if($(".ty_banner_tu2:eq(3)").is(":hidden")){
					_EsdDynamicTransformationScript.esd12TagRightNum.click();
			    }
				
				_EsdDynamicTransformationScript.esd12TagANum4.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd12TagANum3.blur(function () {
		$(this).unbind("keydown.keydown_ll3");
	});
	
	//第四块
	_EsdDynamicTransformationScript.esd12TagANum4.focus(function (e) {
		$(this).bind("keydown.keydown_ll4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).unbind("keydown.keydown_ll4");
				
				if($(".ty_banner_tu2:eq(2)").is(":hidden")){
					_EsdDynamicTransformationScript.esd12TagLeftNum.click();
			    }
				
				_EsdDynamicTransformationScript.esd12TagANum3.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).unbind("keydown.keydown_ll4");
				
				if($(".ty_banner_tu2:eq(4)").is(":hidden")){
					_EsdDynamicTransformationScript.esd12TagRightNum.click();
			    }
				
				_EsdDynamicTransformationScript.esd12TagANum5.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd12TagANum4.blur(function () {
		$(this).unbind("keydown.keydown_ll4");
	});
	
	//第五块
	_EsdDynamicTransformationScript.esd12TagANum5.focus(function (e) {
		$(this).bind("keydown.keydown_ll5", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).unbind("keydown.keydown_ll5");
				
				if($(".ty_banner_tu2:eq(3)").is(":hidden")){
					_EsdDynamicTransformationScript.esd12TagLeftNum.click();
			    }
				
				_EsdDynamicTransformationScript.esd12TagANum4.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).unbind("keydown.keydown_ll5");
				
				if($(".ty_banner_tu2:eq(5)").is(":hidden")){
					_EsdDynamicTransformationScript.esd12TagRightNum.click();
			    }
				
				_EsdDynamicTransformationScript.esd12TagANum6.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd12TagANum5.blur(function () {
		$(this).unbind("keydown.keydown_ll5");
	});
	
	//第六块
	_EsdDynamicTransformationScript.esd12TagANum6.focus(function (e) {
		$(this).bind("keydown.keydown_ll6", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).unbind("keydown.keydown_ll6");
				
				if($(".ty_banner_tu2:eq(4)").is(":hidden")){
					_EsdDynamicTransformationScript.esd12TagLeftNum.click();
			    }
				
				_EsdDynamicTransformationScript.esd12TagANum5.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).unbind("keydown.keydown_ll6");
				_EsdDynamicTransformationScript.esd12TagAfterNum1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd12TagANum6.blur(function () {
		$(this).unbind("keydown.keydown_ll6");
	});
	
	//轮播后的焦点
	_EsdDynamicTransformationScript.esd12TagAfterNum1.focus(function (e) {
		$(this).bind("keydown.keydown_ll7", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).unbind("keydown.keydown_ll7");
				_EsdDynamicTransformationScript.esd12TagANum6.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).unbind("keydown.keydown_ll7");
			}
		});
	});
	_EsdDynamicTransformationScript.esd12TagAfterNum1.blur(function () {
		$(this).unbind("keydown.keydown_ll7");
	});

	

_EsdDynamicTransformationScript.esd13TagNum1 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .zly_mzt_20170310mzywul .zly_mzt_20170310mzywulli:eq(0) a");
_EsdDynamicTransformationScript.esd13TagNum2 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .zly_mzt_20170310mzywul .zly_mzt_20170310mzywulli:eq(1) a");	
_EsdDynamicTransformationScript.esd13TagNum3 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .zly_mzt_20170310mzywul .zly_mzt_20170310mzywulli:eq(2) a");	
_EsdDynamicTransformationScript.esd13TagNum4 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .zly_mzt_20170310mzywul .zly_mzt_20170310mzywulli:eq(3) a");	
_EsdDynamicTransformationScript.esd13TagNum5 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .zly_mzt_20170310mzywul .zly_mzt_20170310mzywulli:eq(4) a");	
_EsdDynamicTransformationScript.esd13TagNum6 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .zly_mzt_20170310mzywul .zly_mzt_20170310mzywulli:eq(5) a");	
_EsdDynamicTransformationScript.esd13TagNum7 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .zly_mzt_20170310mzywul .zly_mzt_20170310mzywulli:eq(6) a");	
_EsdDynamicTransformationScript.esd13TagNum8 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .zly_mzt_20170310mzywul .zly_mzt_20170310mzywulli:eq(7) a");	
	
	
_EsdDynamicTransformationScript.esd13TagNum1.focus(function(){
	$(this).bind("keydown.keydown_131",function(e){
		if(e.shiftKey&&e.keyCode==9){
			_EsdDynamicTransformationScript.esd12TagAfterNum1.focus();
			return false;
		}else if (e.keyCode == 9) {
		
		}
	});
});	
_EsdDynamicTransformationScript.esd13TagNum1.blur(function () {
	$(this).unbind("keydown.keydown_131");
});
	
_EsdDynamicTransformationScript.esd13TagNum2.focus(function(){
	$(this).bind("keydown.keydown_132",function(e){
		if(e.shiftKey&&e.keyCode==9){
			_EsdDynamicTransformationScript.esd13TagNum1.focus();
			return false;
		}else if (e.keyCode == 9) {
		
		}
	});
});	
_EsdDynamicTransformationScript.esd13TagNum2.blur(function () {
	$(this).unbind("keydown.keydown_132");
});
	
_EsdDynamicTransformationScript.esd13TagNum3.focus(function(){
	$(this).bind("keydown.keydown_133",function(e){
		if(e.shiftKey&&e.keyCode==9){
			_EsdDynamicTransformationScript.esd13TagNum2.focus();
			return false;
		}else if (e.keyCode == 9) {
		
		}
	});
});	
_EsdDynamicTransformationScript.esd13TagNum3.blur(function () {
	$(this).unbind("keydown.keydown_133");
});
	
_EsdDynamicTransformationScript.esd13TagNum4.focus(function(){
	$(this).bind("keydown.keydown_134",function(e){
		if(e.shiftKey&&e.keyCode==9){
			_EsdDynamicTransformationScript.esd13TagNum3.focus();
			return false;
		}else if (e.keyCode == 9) {
		
		}
	});
});	
_EsdDynamicTransformationScript.esd13TagNum4.blur(function () {
	$(this).unbind("keydown.keydown_134");
});
	
_EsdDynamicTransformationScript.esd13TagNum5.focus(function(){
	$(this).bind("keydown.keydown_135",function(e){
		if(e.shiftKey&&e.keyCode==9){
			_EsdDynamicTransformationScript.esd13TagNum4.focus();
			return false;
		}else if (e.keyCode == 9) {
		
		}
	});
});	
_EsdDynamicTransformationScript.esd13TagNum5.blur(function () {
	$(this).unbind("keydown.keydown_135");
});
	
_EsdDynamicTransformationScript.esd13TagNum6.focus(function(){
	$(this).bind("keydown.keydown_136",function(e){
		if(e.shiftKey&&e.keyCode==9){
			_EsdDynamicTransformationScript.esd13TagNum5.focus();
			return false;
		}else if (e.keyCode == 9) {
		
		}
	});
});	
_EsdDynamicTransformationScript.esd13TagNum6.blur(function () {
	$(this).unbind("keydown.keydown_136");
});
	
_EsdDynamicTransformationScript.esd13TagNum7.focus(function(){
	$(this).bind("keydown.keydown_137",function(e){
		if(e.shiftKey&&e.keyCode==9){
			_EsdDynamicTransformationScript.esd13TagNum6.focus();
			return false;
		}else if (e.keyCode == 9) {
		
		}
	});
});	
_EsdDynamicTransformationScript.esd13TagNum7.blur(function () {
	$(this).unbind("keydown.keydown_137");
});
	
_EsdDynamicTransformationScript.esd13TagNum8.focus(function(){
	$(this).bind("keydown.keydown_138",function(e){
		if(e.shiftKey&&e.keyCode==9){
			_EsdDynamicTransformationScript.esd13TagNum7.focus();
			return false;
		}else if (e.keyCode == 9) {
		
		}
	});
});	
_EsdDynamicTransformationScript.esd13TagNum8.blur(function () {
	$(this).unbind("keydown.keydown_138");
});


//第一部分
	//二层  

	//各个选项名称对应的内容数量
	 _EsdDynamicTransformationScript.num1 = $(".zly_mzt_20170310c .zly_mzt_20170310tpxw .product-wrap .product:eq(0) a").length-1;
	 _EsdDynamicTransformationScript.num2 = $(".zly_mzt_20170310c .zly_mzt_20170310tpxw .product-wrap .product:eq(1) a").length-1;
	
	//各个选项名称
	 _EsdDynamicTransformationScript.esdTagNum1 = $(".zly_mzt_20170310c .zly_mzt_20170310tpxw .zly_mzt_20170310mzyw_t li:eq(0) a");
	 _EsdDynamicTransformationScript.esdTagNum2 = $(".zly_mzt_20170310c .zly_mzt_20170310tpxw .zly_mzt_20170310mzyw_t li:eq(1) a");
	
	//各个选项中的第一个内容
	 _EsdDynamicTransformationScript.esdTagNum1Content1 = $(".zly_mzt_20170310c .zly_mzt_20170310tpxw .product-wrap .product:eq(0) a:eq(0)");
	 _EsdDynamicTransformationScript.esdTagNum2Content1 = $(".zly_mzt_20170310c .zly_mzt_20170310tpxw .product-wrap .product:eq(1) a:eq(0)");
	
	//各个选项中的最后一个内容
	 _EsdDynamicTransformationScript.esdTagNum1ContentN = $(".zly_mzt_20170310c .zly_mzt_20170310tpxw .product-wrap .product:eq(0) a:eq("+_EsdDynamicTransformationScript.num1+")");
	 _EsdDynamicTransformationScript.esdTagNum2ContentN = $(".zly_mzt_20170310c .zly_mzt_20170310tpxw .product-wrap .product:eq(1) a:eq("+_EsdDynamicTransformationScript.num2+")");
	
	//第一块
	_EsdDynamicTransformationScript.esdTagNum1.focus(function (e) {
		
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_x1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTagNum1.blur(function () {
		
		$(this).unbind("keydown.keydown_x1");
	});

	_EsdDynamicTransformationScript.esdTagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_x1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_x1");
	});

	_EsdDynamicTransformationScript.esdTagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_x1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_x1");
	});
	
	//第二块
	_EsdDynamicTransformationScript.esdTagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_x2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTagNum1.mouseover();
				_EsdDynamicTransformationScript.esdTagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTagNum2.blur(function () {
		$(this).unbind("keydown.keydown_x2");
	});
	
	
	
_EsdDynamicTransformationScript.iframe3 = {};

//iframe获取	
_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe3,document.getElementsByTagName("iframe")[2]);  
//iframe选项卡头
_EsdDynamicTransformationScript.iframeTab3 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .zly_mzt_20170310mzyw_t .zly_mzt_20170310dfxx_tli:eq(0) a");  
//更多
_EsdDynamicTransformationScript.iframeTab3More = $(".zly_mzt_20170310mzyw .product-wrap1 .product1 span:eq(0) a");
	
//第一个标签 切换
_EsdDynamicTransformationScript.iframeTab3.focus(function (e) {
    console.log("tab3获取到焦点");
    e = $(this).mouseover();
    $(this).bind("keydown.iframeKeydown_3", function (e) {
        if (e.shiftKey && e.keyCode == 9) {
			console.log("tab3向回切换");
          _EsdDynamicTransformationScript.iframeTab3.trigger("blur");
			_EsdDynamicTransformationScript.esdTagNum2ContentN.focus();
			return false;
        } else if (e.keyCode == 9) {
            console.log("tab3继续切换到iframe上");
            _EsdDynamicTransformationScript.iframeTab3.trigger("blur");
            _EsdDynamicTransformationScript.iframeTab3More.focus();
            console.log(document.activeElement);
            return false;
        }
    });
});
_EsdDynamicTransformationScript.iframeTab3.blur(function () {
    $(this).unbind("keydown.iframeKeydown_3");
});



_EsdDynamicTransformationScript.iframeTab3More.focus(function (e) {
    $(this).bind("keydown.iframeKeydown_3More", function (e) {
        if (e.shiftKey && e.keyCode == 9) {
            _EsdDynamicTransformationScript.iframeTab3More.trigger("blur");
			_EsdDynamicTransformationScript.iframeTab3.focus();
			return false;
        } else if (e.keyCode == 9) {
            _EsdDynamicTransformationScript.iframeTab3More.trigger("blur");
            $(_EsdDynamicTransformationScript.iframe3.self).focus();
            console.log(document.activeElement);
            return false;
        }
    });
});
_EsdDynamicTransformationScript.iframeTab3More.blur(function () {
    $(this).unbind("keydown.iframeKeydown_3More");
});

// 第一个标签的第一个链接
$(_EsdDynamicTransformationScript.iframe3.first_aLink).focus(function () {
    console.log("第一个iframe的第一条获得焦点");
    $(_EsdDynamicTransformationScript.iframe3.self.contentWindow.document).bind("keydown.iframeKeydown_first3", function (e) {
        if (e.shiftKey && e.keyCode == 9) {
			console.log("第一个iframe的第一条向上切换");
            $(this).trigger("blur");
            _EsdDynamicTransformationScript.iframeTab3More.focus();
            return false;
        } else if (e.keyCode == 9) {
			console.log("第一个iframe的第一条继续切换");
        }
    });
});
$(_EsdDynamicTransformationScript.iframe3.first_aLink).blur(function () {
    $(_EsdDynamicTransformationScript.iframe3.self.contentWindow.document).unbind("keydown.iframeKeydown_first3");
});


	
	
//第二部分
	
	//二层  

	//各个选项名称对应的内容数量
	 _EsdDynamicTransformationScript.num4 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .product-wrap1 .product1:eq(1) a").length-1;
	
	//各个选项名称$						
	 _EsdDynamicTransformationScript.esd2TagNum2 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .zly_mzt_20170310mzyw_t .zly_mzt_20170310dfxx_tli:eq(1) a");
	
	//各个选项中的第一个内容
	_EsdDynamicTransformationScript.esd2TagNum2Content1 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .product-wrap1 .product1:eq(1) a:eq(0)");

	_EsdDynamicTransformationScript.esd2TagNum2Content11 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .product-wrap1 .product1:eq(1) a:eq(1)");
	_EsdDynamicTransformationScript.esd2TagNum2Content2 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .product-wrap1 .product1:eq(1) a:eq(2)");
	_EsdDynamicTransformationScript.esd2TagNum2Content3 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .product-wrap1 .product1:eq(1) a:eq(3)");
	_EsdDynamicTransformationScript.esd2TagNum2Content4 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .product-wrap1 .product1:eq(1) a:eq(4)");
	_EsdDynamicTransformationScript.esd2TagNum2Content5 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .product-wrap1 .product1:eq(1) a:eq(5)");
	_EsdDynamicTransformationScript.esd2TagNum2Content6 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .product-wrap1 .product1:eq(1) a:eq(6)");
	_EsdDynamicTransformationScript.esd2TagNum2Content7 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .product-wrap1 .product1:eq(1) a:eq(7)");
	_EsdDynamicTransformationScript.esd2TagNum2Content8 = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .product-wrap1 .product1:eq(1) a:eq(8)");
	
	//各个选项中的最后一个内容
	 _EsdDynamicTransformationScript.esd2TagNum2ContentN = $(".zly_mzt_20170310c .zly_mzt_20170310mzyw .product-wrap1 .product1:eq(1) a:eq("+_EsdDynamicTransformationScript.num4+")");
	
	
	
// 第一个标签的最后一个链接
$(_EsdDynamicTransformationScript.iframe3.last_aLink).focus(function () {
    console.log("第一个iframe的最后一条获得焦点");
    $(_EsdDynamicTransformationScript.iframe3.self.contentWindow.document).bind("keydown.iframeKeydown_last3", function (e) {
        if (e.shiftKey && e.keyCode == 9) {
			console.log("第一个iframe的最后一条向上切换");
        } else if (e.keyCode == 9) {
			console.log("第一个iframe的最后一条继续切换 到下一个标签");
			$(this).trigger("blur");
			_EsdDynamicTransformationScript.esd2TagNum2.mouseover();
            _EsdDynamicTransformationScript.esd2TagNum2.focus();
            return false;
        }
    });
});
$(_EsdDynamicTransformationScript.iframe3.last_aLink).blur(function () {
    $(_EsdDynamicTransformationScript.iframe3.self.contentWindow.document).unbind("keydown.iframeKeydown_last3");
});
	

	//第二块
	_EsdDynamicTransformationScript.esd2TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_w2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.iframeTab3.mouseover();
				$(_EsdDynamicTransformationScript.iframe3.self).focus();
				$(_EsdDynamicTransformationScript.iframe3.last_aLink).focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_w2");
	});
	
	_EsdDynamicTransformationScript.esd2TagNum2Content1.focus(function(){
		$(this).bind("keydown.keydown_w21",function(e){
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagNum2.focus();
				return false;
			}else if (e.keyCode == 9) {
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagNum2Content1.blur(function () {
		$(this).unbind("keydown.keydown_w21");
	});
	
	_EsdDynamicTransformationScript.esd2TagNum2Content11.focus(function(){
		$(this).bind("keydown.keydown_w211",function(e){
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagNum2Content1.focus();
				return false;
			}else if (e.keyCode == 9) {
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum2Content11.blur(function () {
		$(this).unbind("keydown.keydown_w211");
	});
	
	_EsdDynamicTransformationScript.esd2TagNum2Content2.focus(function(){
		$(this).bind("keydown.keydown_w22",function(e){
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagNum2Content11.focus();
				return false;
			}else if (e.keyCode == 9) {
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum2Content2.blur(function () {
		$(this).unbind("keydown.keydown_w22");
	});
	
	_EsdDynamicTransformationScript.esd2TagNum2Content3.focus(function(){
		$(this).bind("keydown.keydown_w23",function(e){
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagNum2Content2.focus();
				return false;
			}else if (e.keyCode == 9) {
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum2Content3.blur(function () {
		$(this).unbind("keydown.keydown_w23");
	});
	
	_EsdDynamicTransformationScript.esd2TagNum2Content4.focus(function(){
		$(this).bind("keydown.keydown_w24",function(e){
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagNum2Content3.focus();
				return false;
			}else if (e.keyCode == 9) {
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum2Content4.blur(function () {
		$(this).unbind("keydown.keydown_w24");
	});
	
	_EsdDynamicTransformationScript.esd2TagNum2Content5.focus(function(){
		$(this).bind("keydown.keydown_w25",function(e){
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagNum2Content4.focus();
				return false;
			}else if (e.keyCode == 9) {
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum2Content5.blur(function () {
		$(this).unbind("keydown.keydown_w25");
	});
	
	_EsdDynamicTransformationScript.esd2TagNum2Content6.focus(function(){
		$(this).bind("keydown.keydown_w26",function(e){
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagNum2Content5.focus();
				return false;
			}else if (e.keyCode == 9) {
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum2Content6.blur(function () {
		$(this).unbind("keydown.keydown_w26");
	});
	
	_EsdDynamicTransformationScript.esd2TagNum2Content7.focus(function(){
		$(this).bind("keydown.keydown_w27",function(e){
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagNum2Content6.focus();
				return false;
			}else if (e.keyCode == 9) {
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum2Content7.blur(function () {
		$(this).unbind("keydown.keydown_w27");
	});
	
	_EsdDynamicTransformationScript.esd2TagNum2Content8.focus(function(){
		$(this).bind("keydown.keydown_w28",function(e){
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagNum2Content7.focus();
				return false;
			}else if (e.keyCode == 9) {
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum2Content8.blur(function () {
		$(this).unbind("keydown.keydown_w28");
	});
	
	_EsdDynamicTransformationScript.esd2TagNum2ContentN.focus(function(){
		$(this).bind("keydown.keydown_w2N",function(e){
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagNum2Content8.focus();
				return false;
			}else if (e.keyCode == 9) {
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagNum2ContentN.blur(function () {
		$(this).unbind("keydown.keydown_w2N");
	});
	
	//ie模式下，统计数据的更多，向下切换焦点会跳到网址栏进行循环，这块处理一下
	$(".zly_mzt_20170310c .zly_mzt_20170310mzyw .product-wrap1 .product1 a:eq(0)").focus(function(){
		$(this).bind("keydown.keydown_more",function(e){
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				$(".zly_mzt_20170310c .zly_mzt_20170310mzyw .product-wrap1 .product1 a:eq(1)").focus();
				return false;
			}
		});
	});
	$(".zly_mzt_20170310c .zly_mzt_20170310mzyw .product-wrap1 .product1 a:eq(0)").blur(function () {
		$(this).unbind("keydown.keydown_more");
	});
	
	
	
	

//首页结束	
}













